﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Admin.Master" Inherits="System.Web.Mvc.ViewPage<dynamic>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	CreateGuild
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
<link href="../../Content/Admin/control.css" rel="stylesheet" type="text/css" />
      <link href="../../Content/template.css" rel="stylesheet" type="text/css" />
    <link href="../../Content/validationEngine.jquery.css" rel="stylesheet" type="text/css" />
    <script src="../../Scripts/jquery-1.8.2.min.js" type="text/javascript"></script>
    <script src="../../Scripts/jquery.validationEngine-vi.js" type="text/javascript"></script>
    <script src="../../Scripts/jquery.validationEngine.js" type="text/javascript"></script>
    <script>
        $(document).ready(function () {
            $("#formID").validationEngine();
        });
    </script>
<form method="post" action="/Guild/CreateGuild" id="formID">
<table>
<tr>
<td>Tên Guild</td>
<td><input type="text" name="GuildName" class="validate[required]" /></td>
</tr>
<tr>
<td>Số lượng người chơi</td>
<td><input type="text" name="Player_Number" class="validate[required,custom[integer]]" /></td>
</tr>
</table>
<div class="Control">
<input type="submit" value="Tạo mới" class="vadd" />
<%:Html.ActionLink("Quay lại","GetGuilds","Guild", new{@class="vaback"}) %>
</div>
</form>

</asp:Content>
